<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器使用demo</title>
</head>
<body>
    <h1>{{user.username}}-{{user.username|length}}</h1>
    <div>{{mytime|dformat}}</div>
</body>
</html>